<template>
    <div class="document-status-div">
        <el-select v-model="value" clearable @change="handleChange" :size="size">
            <el-option :value="2" label="已创建"></el-option>
            <el-option :value="3" label="等待审核"></el-option>
            <el-option :value="4" label="已审核"></el-option>
            <el-option :value="5" label="已关闭"></el-option>
            <el-option :value="6" label="作废"></el-option>
        </el-select>
    </div>
</template>
<script>
export default {
    data() {
        return {
            value: []
        }
    },
    methods: {
        handleChange(value) {
            this.$emit("change", value);
        }
    },
    mounted() {

    },
    props: {
        size: {
            type: String
        }
    }
}
</script>
<style scoped>
.document-status-div {
    width: 200px;
    display: inline-block;
}
</style>